package com.hk.web.domain.lifeCycle.repository;

import com.hk.web.domain.entity.AppGestureCipher;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author 会飞的狼 on 2018/1/5.
 */
@Repository
public interface AppGestureCipherRepository extends JpaRepository<AppGestureCipher, Long> {

    /**
     * 手势密码是否存在
     * @param loginName
     * @param appType
     * @return
     */
    public AppGestureCipher findByLoginNameAndAppType(String loginName, Integer appType);

}
